package com.flyqiu.flow.event;


import com.flyqiu.flow.bpmn.element.IProcElement;
import com.flyqiu.flow.model.entity.ProcDeployDef;
import com.flyqiu.flow.model.entity.base.Activity;
import com.flyqiu.flow.model.entity.base.ProcInst;
import com.flyqiu.flow.model.entity.ru.ProcRuInst;
import lombok.Getter;

/**
 * 获取活动实例上下文
 */
@Getter
public class ActInstDefaultEventContext implements ActInstEventContext {
    private final IProcElement eventElement;
    private final Activity elementInstance;
    private final ProcDeployDef procDeployDef;
    private final ProcInst procInst;

    public ActInstDefaultEventContext(ProcDeployDef procDeployDef, ProcRuInst procInst, IProcElement eventElement, Activity elementInstance) {
        this.eventElement = eventElement;
        this.elementInstance = elementInstance;
        this.procDeployDef = procDeployDef;
        this.procInst = procInst;
    }


}
